<!--/*--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>XCenter Administrator's Control Panel</title>
    <link id="mastercss" rel="stylesheet" href="images/style.css" type="text/css" media="screen"/>
    <script src="include/js/common.js" type="text/javascript"></script>
</head><body><!--*/-->
<!--{&header}-->
<!--{!#system,common}-->
<!--{!&system}-->
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
        <td><h1>{!database_imprt_export}</h1></td>
        <td class="actions">
            <table summary="" cellpadding="0" cellspacing="0" border="0" align="right">
                <tr>
                    <td><a href="database_import.html#{database/route/export}#">{!database_op_export}</a></td>
                    <td class="active"><a href="database_import.html#{database/route/import}#">{!database_op_import}</a></td>
                </tr>
            </table>
        </td>
    </tr>
</table>

<form method="post" id="theform" action="database_import.html#{database/route/importaction}#" name="thevalueform" enctype="multipart/form-data">

    <table cellspacing="0" cellpadding="0" width="100%" class="maintable">
        <tr>
            <th>{!database_import_from}</th>
            <td><input type="text" name="datafile" value="./${backupdir}/" size="50"></td>
        </tr>
    </table>
    <div class="buttons">
        <input type="submit" name="importsubmit" value="{!common_submit}" class="submit">
    </div>
    <h2>{!database_import_list}</h2>
    <table cellspacing="0" cellpadding="0" width="100%" class="listtable">
        <tr>
            <th width="5%">{!common_delete}</th>
            <th width="20%">{!database_export_filename}</th>
            <th width="5%">{!database_export_version}</th>
            <th width="15%">{!common_dateline}</th>
            <th width="10%">{!database_export_type}</th>
            <th width="8%">{!database_export_filesize}</th>
            <th width="5%">{!database_export_method}</th>
            <th width="5%">{!database_expot_volume}</th>
            <th width="6%">{!common_operation}</th>
        </tr>
        <!--{loop $exportlog $info}-->
        <!--{@
            $info['method'] = $info['type'] != 'zip' ? ($info['method'] == 'multivol' ? '{!database_multivol}' : '{!database_shell}') : '';
            $import = ($info['type'] == 'zip' ? "<a href='#{/database/route/importstart?do=zip&datafile=$info[filename]}#'>[{!database_import_unzip}]" :
            "<a href='#{/database/route/importstart?do=import&datafile=$info[filename]}#'".($info['version'] != XT_VERSION ?
            " onclick=\"return confirm('{!database_import_confirm}');\"" : '').">[{!database_import_import}]</a>");
            $info['type'] = xt_lang(xt_system_lang(),'database_export_'.$info['type']);
        @}-->
        <tr>
            <td align="center"><input type="checkbox" name="delexport[]" value="${info[filename]}"></td>
            <td>{=basename($info['filename'])}</td>
            <td align="center">{XT_VERSION}</td>
            <td>{=xt_gmdate($info['dateline'])}</td>
            <td align="center">${info[type]}</td>
            <td align="center">{=xt_size($info['size'])}</td>
            <td align="center">${info[method]}</td>
            <td align="center">${info[volume]}</td>
            <td align=center>${import}</td>
        </tr>
        <!--{pool}-->
        <table cellspacing="0" cellpadding="0" width="100%" class="btmtable">
            <tr>
                <th><input type="checkbox" name="chkall" onclick="checkall(this.form, 'delexport')">{!common_select_all}
                </th>
            </tr>
        </table>
    </table>
    <div class="buttons">
        <input type="submit" name="listsubmit" value="{!common_submit}" class="submit">
    </div>
</form>
<!--{&footer}-->
</body>
</html>